package com.xishu.shard;

import java.util.HashMap;
import java.util.Map;

public class ShardUtil {
    private static ShardUtil instance = new ShardUtil();

    private Map<Long, String> dbMap = new HashMap<>();

    private ShardUtil() {
        dbMap.put(0l, "xishu");
        dbMap.put(1l, "dola");
    }

    public static ShardUtil getInstance() {
        return instance;
    }

    public Map<Long, String> getDbMap() {
        return dbMap;
    }
}
